﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using WangMiBusiness;
using WangMiEntity;
using WangMiBusiness.Menu;

namespace WangMi.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            var menuEntity = MenuBusiness.GetMainMenu();
            return View(menuEntity);
        }
    }
}